package com.yanqu.road.logic.bussiness.player;

import com.yanqu.road.entity.player.UserRealReward;
import com.yanqu.road.logic.bussiness.DaoHelper;

import java.util.List;

public class UserRealRewardBusiness {

    public static List<UserRealReward> getUserRealRewardList(long userId) {
        return DaoHelper.getUserRealRewardDaoImpl().getUserRealRewardList(userId);
    }

    public static boolean addUserRealReward(UserRealReward data) {
        return DaoHelper.getUserRealRewardDaoImpl().add(data);
    }

    public static boolean updateUserRealReward(UserRealReward data) {
        return DaoHelper.getUserRealRewardDaoImpl().update(data);
    }

}
